package com.chinasofti;

public class Demo03 {
    public static void main(String[] args) {
    Person p1 = new Person();
    Person p2 = new Person(12);
}
}

class Person{
    static {
        System.out.println("我是静态代码块");
    }
    public Person(){
        System.out.println("无参构造器.........");
    }
    public  Person(int a){
        System.out.println("有参构造器.........");
    }
}